#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "xbelview.h"

class XbelView;

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    void closeEvent(QCloseEvent *evnt);

private:
    Ui::MainWindow *ui;
    XbelView *view;

private slots:
    void on_actionTest_triggered();
    void on_actionSend_triggered();
    void on_actionPrint_triggered();
    void on_actionNew_triggered();
    void on_actionRas_triggered();
    bool on_actionClose_triggered();
    void on_actionDelete_triggered();
    void on_actionInsertChild_triggered();
    void on_actionAbout_triggered();
    void on_actionInsert_triggered();
    void on_actionExit_triggered();
    void on_actionSave_triggered();
    void on_actionOpen_triggered();
};

#endif // MAINWINDOW_H
